package com.meibei.ljl.mymusic.ui.start;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;

import com.meibei.ljl.mymusic.R;
import com.meibei.ljl.mymusic.ui.home.activity.MainActivity;

/**
 * Created by xy on 16/10/9.
 */
public class StartActivity extends AppCompatActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_start);
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent intent = new Intent();
                intent.setClass(StartActivity.this, MainActivity.class);
                startActivity(intent);
                finish();
            }
        }, 3000);
    }


}

